package org.bigzero.bao

class MetaData {
String name
	String dataType
	String enumList
	Boolean nullable
	Integer dataIndex
	
    static constraints = {
		name(blank:false, nullable:false, maxSize:250, unique:true)
		dataType(nullable:false, inList:['String', 'int', 'number', 'enum'])
		enumList(blank:true, nullable:true)
		nullable(nullable:true)
		dataIndex()
    }
	
	String toString(){
		name
	}
}
